package com.bysj.lms.service;

import com.bysj.lms.pojo.entity.CourseOutline;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaojiakai
 * @since 2022-02-04
 */
public interface ICourseOutlineService extends IService<CourseOutline> {

    //批量添加
    boolean adds(MultipartFile excel,String versionNumber) throws IOException;
    
    //按年级和专业查询
    List<CourseOutline> list(String versionNumber);

    List<CourseOutline> listByClass(Integer classId);
}
